package testDaoHibernate;

import static org.junit.Assert.*;

import org.junit.Test;

import daoHibernate.DAOHibernate;

public class testDaoHibernate {

	@Test
	public void testConnection() 
	{
		try
		{
			DAOHibernate.connect();
		}
		catch(Exception mException)
		{
			fail();
		}
	}
	
	@Test
	public void testSupression() 
	{
		try
		{
			DAOHibernate.viderBase();
		}
		catch(Exception mException)
		{
			fail();
		}
	}

}
